package com.maybach.core.form.order;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by zhaoshuai on 16/3/2.
 */
public class CloseLoanOrderForm implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "订单编号不能为空")
    private Long id;

    @NotEmpty(message = "订单宝关闭原因不能为空")
    private String reason;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}
